<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
    <%
        String basePath = request.getScheme()
                +"://"
                +request.getServerName()
                +":"
                +request.getServerPort()
                +request.getContextPath()
                +"/";
    %>
    <base href="<%=basePath%>">
    <!--_meta 作为公共模版分离出去-->
    <%@ include file="common/web_meta.jsp"%>
    <!--/meta 作为公共模版分离出去-->

    <title>添加优惠卷</title>
    <style type="text/css">
        .icon {
            width: 1em; height: 1em;
            vertical-align: -0.15em;
            fill: currentColor;
            overflow: hidden;
        }
    </style>
</head>
<body>
<!--/_header 作为公共模版分离出去-->
<%@ include file="common/web_header.jsp"%>
<!--/_header 作为公共模版分离出去-->

<!--_menu 作为公共模版分离出去-->
<%@ include file="common/web_menu.jsp"%>
<!--/_menu 作为公共模版分离出去-->
<section class="Hui-article-box">
    <nav class="breadcrumb"><i class="Hui-iconfont"></i> <a href="/" class="maincolor">首页</a>
        <span class="c-999 en">&gt;</span>
        <span class="c-666">我的桌面</span>
        <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
    <div class="Hui-article">
    </div>
</section>
<section class="Hui-article-box">
    <form class="form form-horizontal" id="form-article-add" action="pointservlet">
        <input type="hidden" name="action" value="addPoint">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>积分说明:</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text"  placeholder="请输入说明" name="pointExplain">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">所需积分:</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" placeholder="请输入数据" name="needPoints">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>兑换的优惠卷</label>
            <div class="formControls col-xs-8 col-sm-9">
				<span class="select-box">
				<select name="gainCouponId" class="select">
					<option value="0"></option>
					<option value="1"></option>
				</select>
				</span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">图片:</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" placeholder=""  name="pointPicture">
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
                <button  type="submit" class="btn btn-secondary radius" type="button"><i class="Hui-iconfont">&#xe632;</i> 添加积分促销</button>
                <button id="cancelbut" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消添加&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</section>
<!--_footer 作为公共模版分离出去-->
<%@ include file="common/web_footer.jsp"%>
<!--/_footer /作为公共模版分离出去-->
<script type="text/javascript" src="pc/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript">
$("#cancelbut").on('click',function () {
location.href="pointservlet?action=queryPointList";
});
</script>
</body>
</html>